package com.example.qu_tao.model;

import java.util.Date;

public class LiaoYiLiaoMessage {
    private String content;
    private Date timestamp;
    private boolean isSentByUser; // true表示用户发送，false表示商家发送

    public LiaoYiLiaoMessage(String content, Date timestamp, boolean isSentByUser) {
        this.content = content;
        this.timestamp = timestamp;
        this.isSentByUser = isSentByUser;
    }

    // Getter方法
    public String getContent() {
        return content;
    }

    public Date getTimestamp() {
        return timestamp;
    }

    public boolean isSentByUser() {
        return isSentByUser;
    }
}
